home *** CD-ROM | disk | FTP | other *** search
- Path: ratree.psu.ac.th!s3610165
- From: s3610165@maliwan.psu.ac.th (Sanon CHAOCHAIYAPORN)
- Newsgroups: comp.lang.c
- Subject: Help!
- Date: 26 Jan 1996 09:09:56 GMT
- Organization: The Computer Center, Prince of Songkla University, THAILAND
- Message-ID: <4ea5p4$j0s@ratree.psu.ac.th>
- NNTP-Posting-Host: maliwan.psu.ac.th
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dear all
-
- There is a file, hi.bat, in my 'h:\data' directory and I try to
- run it by C program but it fail. Please, advice to me?
-
- Source:
-
- #include<stdio.h>
- #include<stdlib.h>
- #include<conio.h>
- #include<dir.h>
-
- main()
- {
- clrscr();
- chdir("h:\data");
- system("hi.bat");
- getch();
- }
-
-
- --
- ----------------------------------------------------------------
- | | |
- | Sanon Chaochaiyaporn | Prince of Songkla University |
- | s3610165@maliwan.psu.ac.th | Hadyai, Thailand |
- | | |
- ----------------------------------------------------------------
-